package com.fjnu.entity;

import java.util.Date;

public class User {
    private Integer id;          // 用户ID（自增）
    private String username;    // 用户名
    private String password;    // 密码（实际项目需加密）
    private Long score;         // 积分
    private Date createTime;    // 创建时间

    // Getter和Setter
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }
    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }
    public Long getScore() { return score; }
    public void setScore(Long score) { this.score = score; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
}